import axios from "@/axios/index";
export const getAllInterface=(params)=>{
    return axios({
        method:'get',
        url:'sys/interface/getAllInterface',
        params:params
    })
}

export const insertInterface=(params)=>{
    return axios({
        method:'post',
        url:'sys/interface/insertInterface',
        data:params
    })
}

export const deleteInterface=(params)=>{
    return axios({
        method:'post',
        url:'sys/interface/deleteInterface',
        data:params
    })
}

export const insertRoleInterface=(params)=>{
    return axios({
        method:'post',
        url:'sys/interface/insertRoleInterface',
        data:params
    })
}

export const getRoleInterface=(params)=>{
    return axios({
        method:'get',
        url:'sys/interface/getRoleInterface',
        params:params
    })
}
